throwOnUnhandledErrors

A flag for the library's Exception behavior if the target has no doOnShadowModeChange set. If one is set, it's assumed that ShadowMode.Errors will be handled there.

When true, invalid states will cause ShadowExceptions to be thrown; otherwise execution falls through to the logs as described for false. When false, no Exceptions are thrown, and logs are printed instead in debug builds, as long as suppressLogs is false.

While true, the View.updateShadow function should be used whenever modifying multiple properties at once.